Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cli: improve usagemsgs #16

Merged

Conversation

mikemccracken
Copy link
Contributor

just a couple of changes to avoid tracebacks when someone just runs atomfs mount or atomfs mount -h to see what the usage should be.

for both, use ArgsUsage to add the args info to the help output

for mount, check #args and run findImage before the priv check so we get usage first

for umount update the message to include the command

just a couple of changes to avoid tracebacks when someone just runs
`atomfs mount` or `atomfs mount -h` to see what the usage should be.

for both, use ArgsUsage to add the args info to the help output

for mount, check #args and run findImage before the priv check so we get
usage first

for umount update the message to include the command

Signed-off-by: Michael McCracken <[email protected]>
@hallyn
Copy link
Contributor

hallyn commented Sep 26, 2024

LGTM - but let's wait till a pr fixing codecov is merged, then please rebase this.

Copy link

codecov bot commented Sep 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 16.52%. Comparing base (ad93e06) to head (fe65ba8).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #16   +/-   ##
=======================================
  Coverage   16.52%   16.52%           
=======================================
  Files           6        6           
  Lines         932      932           
=======================================
  Hits          154      154           
  Misses        757      757           
  Partials       21       21           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rchamarthy rchamarthy merged commit 313b480 into project-machine:main Sep 26, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants